<div class="easyui-layout" data-options="fit:true">
	<div class="easyui-panel pd5" data-options="fit:true,border:true">
		<h2></h2>
        <p></p>
    </div>
</div>
<script src="../js/jquery.min.js"></script>
<script>
	
	function GetQueryString(name)
	{
	     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
	     var r = window.location.search.substr(1).match(reg);
	     if(r!=null)return  unescape(r[2]); return null;
	}
//	alert(GetQueryString("id"))
	$.ajax({
		type:"get",
		url:"http://localhost:3000/connect/all",
		success:function(res){
			for(var i in res){
				if(GetQueryString("id")==res[i].cateId){
					$("h2").html(res[i].title)
					$("p").html(res[i].content)
				}
			}			
		}
	})
	
	
	
</script>